//package com.wochoose.ucm.service;
//
//import com.google.common.hash.Hashing;
//import com.wochoose.greenhouse.ucm.dto.LoginReqDto;
//import com.wochoose.greenhouse.ucm.dto.LoginRespDto;
//import com.wochoose.greenhouse.ucm.mapper.UserInfoMapper;
//import com.wochoose.ucm.login.LoginEmailQuery;
//import com.wochoose.ucm.login.LoginMobileQuery;
//import com.wochoose.ucm.login.LoginNormalQuery;
//import com.wochoose.ucm.login.LoginVO;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.nio.charset.StandardCharsets;
//
//@Service
//public class LoginService {
//	public LoginVO loginByEmail(LoginEmailQuery loginEmailQuery) {
//		return null;
//	}
//
//	public LoginVO loginByMobile(LoginMobileQuery loginMobileQuery) {
//		return null;
//	}
//
//	public LoginVO loginByNormalWay(LoginNormalQuery loginNormalQuery) {
//		// 密码加密
//		loginReqDto.setUserPass(Hashing.md5().hashString(loginReqDto.getUserName(), StandardCharsets.UTF_8).toString());
//		// 校验代码
//
//		return null;
//	}
//
//	@Autowired
//	private UserInfoMapper userInfoMapper;
//}